package cn.bsb.service.rece;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.bsb.dao.DevUserMapper;
import cn.bsb.pojo.DevUser;
@Service("DevUserService")
public class DevUserService extends BaseService<DevUser> {
	@Autowired
	private DevUserMapper devUserMapper;
    public boolean updateUser(DevUser user) {
    	boolean falg=false;
    	  int i=devUserMapper.updateUser(user);
    	  if(i>0) {
    		  falg=true;  
    	  }
    	return falg;
    }
    
    public DevUser getUser(int id) {
    	DevUser user=devUserMapper.getUser(id);
    	return user;
    }
    
}
